package earogya.pharmacy.patient;

import java.sql.Time;
import java.util.Date;

/*Class Dispenced_Treatments
 *this class contains the important attributes that has to be considered when a drug is given to a patient
 * */
public class Dispenced_Treatments {
	private int dispenceId;
	private int patientId;
	private int drugId;
	private int noOfIssues;
	private String dosage;
	private int dispencedQuantity;
	private String dispenceUnits;
	private Date dispenceDate;
	private Time dispenceTime;
	private int prescriptionNo;
	private int dispencedById;
	
	public Dispenced_Treatments(){
		
	}
	
	public void setDispenceId(int did){
		dispenceId = did;
	}
	
	public int getDispenceId(){
		return dispenceId;
	}
	
	public void setPatientId(int pid){
		patientId = pid;
	}
	
	public int getPatientId(){
		return patientId;
	}
	
	public void setDrugId(int did){
		drugId = did;
	}
	
	public int getDrugId(){
		return drugId;
	}
	
	public void setNoOfIssues(int no){
		noOfIssues = no;
	}
	
	public int getNoOfIssues(){
		return noOfIssues;
	}
	
	public void setDosage(String dose){
		dosage = dose;
	}
	
	public String getDosage(){
		return dosage;
	}
	
	public void setDispencedQuantity(int qntity){
		dispencedQuantity = qntity;
	}
	
	public int getDispencedQuantity(){
		return dispencedQuantity;
	}
	
	public void setDispenceUnits(String units){
		dispenceUnits = units;
	}
	
	public String getDispenceUnits(){
		return dispenceUnits;
	}
	
	public void setDispenceDate(Date ddate){
		dispenceDate = ddate;
	}
	
	public Date getDispenceDate(){
		return dispenceDate;
	}
	
	public void setDispenceTime(Time dtime){
		dispenceTime = dtime;
	}
	
	public Time getDispenceTime(){
		return dispenceTime;
	}
	
	public void setPrescriptionNo(int pno){
		prescriptionNo = pno;
	}
	
	public int getPrescriptionNo(){
		return prescriptionNo;
	}
	
	public void setDispencedById(int dbyid){
		dispencedById = dbyid;
	}
	
	public int getDispencedById(){
		return dispencedById;
	}

}
